package pattern.builder.normal;

import lombok.AllArgsConstructor;

// 指挥者类 指挥该组装什么电脑
@AllArgsConstructor
public class ComputerDirector {
    private ComputerBuilder computerBuilder;
    public Computer construct() {
        computerBuilder.builderCpu("i11");
        computerBuilder.builderGpu("3080");
        return computerBuilder.build();
    }
}
